package com.zhousb.deviceManager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhousb.deviceManager.model.dto.AssetLifecycleDto;
import com.zhousb.deviceManager.model.entity.KiAssetLifecycle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhousb
 * @date 2024/11/5 10:14
 * @description
 */

public interface KiAssetLifecycleMapper extends BaseMapper<KiAssetLifecycle> {

    List<AssetLifecycleDto> listLifecycle(@Param("assetId")String assetId);
    void batchInsert(@Param("list") List<KiAssetLifecycle> list);
}
